<?php

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class upgradeUserCrystals extends Command {

	/**
	 * The console command name.
	 *
	 * @var string
	 */
	protected $name = 'user:upgradeCrystals';

	/**
	 * The console command description.
	 *
	 * @var string
	 */
	protected $description = 'Upgrades the user current crystals.';

	/**
	 * Create a new command instance.
	 *
	 * @return void
	 */
	public function __construct()
	{
		parent::__construct();
	}

	/**
	 * Execute the console command.
	 *
	 * @return mixed
	 */
	public function fire()
	{
		$users = User::all();
		foreach( $users as $user ){
			var_dump( $user );
		}
		$this->question('Welcome to the user generator.');
	}

	/**
	 * Get the console command arguments.
	 *
	 * @return array
	 */
	protected function getArguments()
	{
		return array();
		/*return array(
			array('example', InputArgument::REQUIRED, 'An example argument.'),
		);*/
	}

	/**
	 * Get the console command options.
	 *
	 * @return array
	 */
	protected function getOptions()
	{
		return array();
		/*return array(
			array('example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null),
		);*/
	}

}
